<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ tag import="java.util.*"%>
<%@ tag import="com.mymail.entity.*"%>
<%@ attribute name="array" required="true" type="java.util.ArrayList"%>
<select name="sendmailbox" id="sendmailbox">
	<%
	Iterator<MailBox> it = array.iterator();
	while (it.hasNext()) {
	String str = it.next().getName();
	out.print("<option value=\"" + str + "\">"+ str + "</option>");
	}
	%>
</select>